import { request } from '@/utils/http'
// import qs from 'qs'

export function riskLevelListApi (params) {
  return request({
    url: '/api/ticketConfig/riskLevelList',
    method: 'GET',
    params
  })
}
export function workModeListApi (params) {
  return request({
    url: '/api/ticketConfig/workModeList',
    method: 'GET',
    params
  })
}

export function riskIdentificationListApi (params) {
  return request({
    url: '/api/ticketConfig/riskIdentificationList',
    method: 'GET',
    params
  })
}

export function securityMeasureListApi (params) {
  return request({
    url: '/api/ticketConfig/securityMeasureList',
    method: 'GET',
    params
  })
}


export function analysisItemListApi (params) {
  return request({
    url: '/api/ticketConfig/analysisItemList',
    method: 'GET',
    params
  })
}

export function workDurationListApi (params) {
  return request({
    url: '/api/ticketConfig/workDurationList',
    method: 'GET',
    params
  })
}

export function workInterruptionDurationListApi (params) {
  return request({
    url: '/api/ticketConfig/workInterruptionDurationList',
    method: 'GET',
    params
  })
}
export function approverListApi (params) {
  return request({
    url: '/api/ticketConfig/approverList',
    method: 'GET',
    params
  })
}
export function specialCardListApi (params) {
  return request({
    url: '/api/specialHomeworkCertificate/list',
    method: 'GET',
    params
  })
}